package com.aatrox.bhsypro.dao;

import com.aatrox.bhsypro.entity.BUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface BUserDao {
    //登录
    public BUser selBUser(BUser b);
    //注册
    public int BUserZc(BUser b);
    //查询名称是否重复
    public Integer selUserNameIsCf(String uName);
    //根据ID查询用户
    public BUser selUserForUid(int uid);
    //根据用户ID修改用户为VIP
    public void updateUserVip(int uid);
}
